export interface Conversations {
    conversationId: number,
    userId: string,
    creatorType: string,
    sourceType: 'lost_and_found' | 'marketplace' | 'chat_room' | 'customer_service' | 'system',
    sourceId: number,
    isGroup: 0 | 1,
    maxParticipants: string,
    isActive: number,
    isArchived: string,
    lastMessageId: number,
    lastMessageTime: Date,
    status: number,
    createTime: Date
}
export interface ConversationInfoVO extends Conversations{
    lastMessage:PrivateMessage,
    unreadCount:number,
    otherAvatar:string,
    otherUserId:string,
    otherNickname:string
}
export interface ConversationParticipants {
    participantId: number,
    conversationId: number,
    userId: number,
    unreadCount: number,
    isPinned: 0 | 1,
    nickname: string,
    status: 0 | 1 | 2
}
export interface PrivateMessage {
    messageId?: number,
    conversationId: number,
    senderId: number,
    receiverId: number,
    contentType: 'text' | 'image' | 'video' | 'file',
    content: string,
    isRead: number,
    readTime: Date,
    status: number,
    createTime: Date,
    type: 'private' | 'notice'
}
export interface PrivateMessageSaveDTO extends PrivateMessage {
    sourceType:string,
    sourceId?:number
}
